* Fix regression in email password resets on read-restricted sites
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 23 Dec 2006 06:45:30 +0000 (06:45 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 23 Dec 2006 06:45:30 +0000 (06:45 +0000)
Need access to Special:Resetpass in order to complete login with temporary e-mailed password.
Add it to the always-on internal whitelist alongside Special:Userlogin

RELEASE-NOTES
includes/Title.php

index 9e64ec2..b85d503 100644 (file)
@@ -386,6 +386,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   the bidi override characters appended to the lists.
   A more thorough blacklist for forbidden and translatable characters would
   be wise, though, as might a cleaner method for the lists in the first place.
+* Fix regression in email password resets on read-restricted sites
+
 
 == Languages updated ==
 
index a2cf380..a6145e8 100644 (file)
@@ -1187,7 +1187,7 @@ class Title {
                         * Always grant access to the login page.
                         * Even anons need to be able to log in.
                        */
-                       if( $this->isSpecial( 'Userlogin' ) ) {
+                       if( $this->isSpecial( 'Userlogin' ) || $this->isSpecial( 'Resetpass' ) ) {
                                return true;
                        }